<%@ page pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://www.ld.com/system/tags" prefix="system"%>
<%@ page trimDirectiveWhitespaces="true" %>
<fmt:setLocale value="zh_CN"/>
<div class="show-info">
    <table class="tab-show">
    	<caption>基本信息</caption>
    	<colgroup>
    		<col width="140">
    		<col width="">
    	</colgroup>
        <tr>
	    	<th>
            	<label>uid：</label>
        	</th>
         	<td>${model.uname }<font style="color: blue;">[${model.uid }]</font></td>
		</tr>
        <tr>
	    	<th>
            	<label>sessionId：</label>
        	</th>
         	<td>${model.sessionId }</td>
		</tr>
        <tr>
	    	<th>
            	<label>登录时间：</label>
        	</th>
         		<td class="shieldDatetime"><fmt:formatDate value="${model.lastLoginTime }" pattern="yyyy-MM-dd HH:mm:ss"/></td>
		</tr>
		<tr>
	    	<th>
            	<label>客户端信息：</label>
        	</th>
         	<td>${model.clientInfo }</td>
		</tr>
        <tr>
	    	<th>
            	<label>客户端地址：</label>
        	</th>
         	<td>${model.client.remoteAddress }</td>
		</tr>
		<tr>
	    	<th>
            	<label>客户端Rooms：</label>
        	</th>
         	<td>${model.client.allRooms }</td>
		</tr>
		<tr>
	    	<th>
            	<label>连接方式：</label>
        	</th>
         	<td>${model.client.transport }</td>
		</tr>
		<tr>
	    	<th>
            	<label>channelOpen：</label>
        	</th>
         	<td>${model.client.channelOpen }</td>
		</tr>
    </table>
    <table class="tab-show">
    	<caption>客户端连接信息</caption>
    	<colgroup>
    		<col width="140">
    		<col width="">
    	</colgroup>
		<tr>
	    	<th>
            	<label>客户端连接参数：</label>
        	</th>
         	<td>${model.client.handshakeData.urlParams }</td>
		</tr>
		<tr>
	    	<th>
            	<label>客户端连接URL：</label>
        	</th>
         	<td>${model.client.handshakeData.url }</td>
		</tr>
		<tr>
	    	<th>
            	<label>客户端连接时间：</label>
        	</th>
         	<td>${model.client.handshakeData.time }</td>
		</tr>
		<tr>
	    	<th>
            	<label>客户端连接头信息：</label>
        	</th>
         	<td>${model.client.handshakeData.httpHeaders }</td>
		</tr>
    </table>
    <div class="opt"></div>
</div>